package com.sunlands.qdcy.tongzhuo.exception;

/**
 * 平台基类异常
 */
public class PlatformException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private boolean isPage;

    private String url;

    public PlatformException() {
        super();
    }

    public PlatformException(Throwable cause) {
        super(cause);
    }

    public PlatformException(String message) {
        super(message);
    }

    public PlatformException(String message, Throwable throwable) {
        super(message, throwable);
    }


    public PlatformException(String message, String url, boolean isPage) {
        super(message);
        this.url = url;
        this.isPage= isPage;
    }

    public PlatformException(Throwable cause, String url, boolean isPage) {
        super(cause);
        this.url = url;
        this.isPage= isPage;

    }

    public PlatformException(String message, Throwable cause, String url, boolean isPage) {
        super(message, cause);
        this.url = url;
        this.isPage= isPage;

    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return this.url;
    }

    public boolean isPage() {
        return isPage;
    }
}
